
  nutShell.template = {};  

  /* 
   *
   *  ---- Module -----
   *
   */

  nutShell.template = function(){
    
    this.tplStructure = '';
    this.tplVarData = {style_name: 'normal'};
    
    for( var i = 0; i < arguments.length; i++ ) {
      this.tplStructure += arguments[i];
    }
    
    this.setVarData = function(key, value){
      this.tplVarData[key] = value;
    }
    this.removeVarData = function(key){
      delete this.tplVarData[key];
    }
    
    this.render = function(){
      var tmpTpl = this.tplStructure;
      for( var myVariable in this.tplVarData ) {
        var sRegExInput = new RegExp("{"+myVariable+"}", "g");
        tmpTpl = tmpTpl.replace(sRegExInput, this.tplVarData[myVariable])
      }
      return tmpTpl;
    }
    
    this.toString = this.render;
    
  }
  